/**
 * 
 */
package com.p2p.front.dal.model;

import java.io.Serializable;

import com.p2p.base.model.Money;

/**
 * @author ruiqi
 *
 */
public class TenderAutoSetting implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -5073834831526347649L;
	
	private Long id;//自增id
	private String userId;//用户id
	private Integer status;//自动投标状态
	private Money totalAmount = new Money();//自动投标总金额
	private Money onceAmount = new Money();//单次投标金额
	private Double minRate;//最小年回报率
	private Double maxRate;//最大年汇报率
	private Integer minDeadline;//最小期限
	private Integer maxDeadline;//最大期限
	private String repayMethod;//还款方式
	private Integer minCreditLevel;//最小信用等级
	private Integer maxCreditLevel;//最大信用等级
	private Money limitAmount = new Money();//保留余额
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Money getTotalAmount() {
		return totalAmount;
	}
	public void setTotalAmount(Money totalAmount) {
		this.totalAmount = totalAmount;
	}
	public Money getOnceAmount() {
		return onceAmount;
	}
	public void setOnceAmount(Money onceAmount) {
		this.onceAmount = onceAmount;
	}
	public Double getMinRate() {
		return minRate;
	}
	public void setMinRate(Double minRate) {
		this.minRate = minRate;
	}
	public Double getMaxRate() {
		return maxRate;
	}
	public void setMaxRate(Double maxRate) {
		this.maxRate = maxRate;
	}
	public Integer getMinDeadline() {
		return minDeadline;
	}
	public void setMinDeadline(Integer minDeadline) {
		this.minDeadline = minDeadline;
	}
	public Integer getMaxDeadline() {
		return maxDeadline;
	}
	public void setMaxDeadline(Integer maxDeadline) {
		this.maxDeadline = maxDeadline;
	}
	public String getRepayMethod() {
		return repayMethod;
	}
	public void setRepayMethod(String repayMethod) {
		this.repayMethod = repayMethod;
	}
	public Integer getMinCreditLevel() {
		return minCreditLevel;
	}
	public void setMinCreditLevel(Integer minCreditLevel) {
		this.minCreditLevel = minCreditLevel;
	}
	public Integer getMaxCreditLevel() {
		return maxCreditLevel;
	}
	public void setMaxCreditLevel(Integer maxCreditLevel) {
		this.maxCreditLevel = maxCreditLevel;
	}
	public Money getLimitAmount() {
		return limitAmount;
	}
	public void setLimitAmount(Money limitAmount) {
		this.limitAmount = limitAmount;
	}
	
	
}
